home *** CD-ROM | disk | FTP | other *** search
/ Archive Magazine CD 1995 / Archive Magazine CD 1995.iso / discs / prog_disc / volume_8 / issue_02 / unit_conv / !UnitConv / !Run < prev    next >
Encoding:
Text File  |  1994-09-23  |  677 b   |  27 lines

  1. | > !UnitConv.!Run
  2. |
  3. | Run File for unit conversion
  4. | by Chris Johnson
  5. |
  6. IconSprites <Obey$Dir>.!Sprites
  7. |
  8. | Find path to file
  9. Set UnitConv$Dir <Obey$Dir>
  10. |
  11. |
  12. set temp$flag 1
  13. RMEnsure ABCLibrary 0 set temp$flag 0
  14. RMensure ABCLibrary 4.00 if "<temp$flag>" = "1" Then Error 0 Old ABCLib installed Else RMLoad <Obey$Dir>.ABCLib
  15. RMensure ABCLibrary 4.00 Error You need the ABClibrary ver 4.00 or later installed
  16. unset temp$flag
  17. |
  18. RMEnsure CJWimpUtil 0.13 RMLoad <Obey$Dir>.cjwimpUtil
  19. RMEnsure CJwimpUtil 0.13 Error You need the CJWimpUtil module (0.13 or later) installed
  20. |
  21. | Check memory allocation
  22. WimpSlot -min 64K -max 64K
  23. |
  24. | Now start program
  25. Run <UnitConv$Dir>.!RunImage
  26.